/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import "../../../../styles/variables.scss";

$input-label-color: $grey-03;

.configuration-content {
  #resources-tab-content {
    .resource-container {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
    }
    .client,
    .driver {
      padding-left: 0;
      border-right: 1px solid $input-label-color;
    }

    .resource-title-icon {
      display: flex;

      .resource-title {
        font-weight: 500;
      }
    }

    .resource-holder {
      .resource-group {
        display: flex;
        align-items: center;
        margin-top: 15px;

        .small-dropdown,
        input.memoryMB-input,
        my-number-widget input {
          width: 60px;
          padding-right: 0;
          padding-left: 5px;
        }

        .control-label {
          text-align: right;
          padding-right: 0;
          margin-right: 10px;

          &.mb {
            margin-left: 5px;
          }
        }
      }
    }

    &.batch-content {
      .executor {
        padding-left: 50px;
      }
    }

    &.realtime-content {
      .driver,
      .executor {
        padding-left: 20px;
      }
    }
  }
}
